<?php session_start();
if($_SESSION['id_tipo_usuario']==4 AND $_SESSION['id_usuario']){

require_once '../framework/fw.php';	
require '../view/abm_turnosView.php';
require '../model/Turno.php';
require '../model/Paciente.php';


$pagina = new abm_turnosView;
$turno = new Turno;
$res=$turno->get_turnos();
$pagina->array_registros = $res;

$pagina->Render();
}

else{	session_destroy();
	header("location: clinica.htm");
}
?>